<?php
/**
 * <https://y.st./>
 * Copyright © 2019 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Time to tag my photos ...',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2019/04/16.jpg" alt="Purple flowers" class="framed-centred-image" width="800" height="480"/>
<section id="legs">
	<h2>Tired legs</h2>
	<p>
		It looks like maybe my legs haven&apos;t recovered as much as I&apos;d initially thought.
		They&apos;re much better than before, but it might still be in my best interest to skip the upcoming $a[EUGLUG] meeting.
		Just biking up and over the bridge in town to get to the credit union today was a struggle, and now it hurts a bit to walk up the stairs to my apartment.
		My legs could use a bit more rest.
	</p>
</section>
<section id="photographs">
	<h2>Tagging photographs</h2>
	<p>
		It was initially my intent that my little, blue camera only get me through temporarily, until I could get the new Librem 5, which hasn&apos;t been released yet.
		It&apos;s going to have a built-in camera, which will likely be of higher quality, and I thought I might be able to get it to automatically put my $a[URI] on photos I take similar to how I got the GT-i9100 to do that.
		My plan was to go back and tag the photos taken with the little, blue camera with my $a[URI], copyright, and license all at once at that point, instead of tagging one photo each day as I took it.
		After a while though, I wasn&apos;t even sure I was going to buy the Librem 5, so I wasn&apos;t sure when I&apos;d go back and tag the photos.
	</p>
	<p>
		Well, the GT-i9100 is back in commission.
		There&apos;s no more need for me to get the Librem 5.
		I mean, the Librem 5 is a superior model by far, don&apos;t get me wrong, but I now have a working mobile again.
		I should try to make it work for me.
		So anyway, the stretch of photos not tagged automatically by the camera is over, so I&apos;ve started the process of getting the photos edited.
		Wow.
		I&apos;d forgotten how tedious this is.
		I used to do it every week, before I found a way to make the GT-i9100 do it for me automatically.
		It actually sort of deters me from getting the Librem 5.
		Surely the Librem 5 could do the same thing with the right software installed.
		I mean, getting it to work on the GT-i9100 requires the use of a non-default application I installed.
		But would the Librem 5 have such a camera application available to it?
		I have no idea.
		And I want to be done with manually editing all my images.
	</p>
</section>
<section id="prayer">
	<h2>Prayer impressions log</h2>
	<p>
		Before work, I prayed about how I&apos;m not going to be able to keep up the pace and continue reading one book of scripture per week.
		Honestly, I have the time, but not the energy.
		I need to recuperate.
		Even once I&apos;m better, I need to take this a bit slower.
		The reason I need rest so badly is because I overloaded myself, both physically and emotionally.
		I continued that with the censorship at the school ended, I&apos;d have much less to recuperate from, and asked that the censorship be ended.
		In return, all I saw in my mind was moving images of the SuperTux game.
	</p>
	<p>
		After work, I prayed about how I&apos;m kind of on the right track with my coursework, but not really.
		I&apos;m a bit behind, truth be told, but it&apos;s been an easy first week, so there&apos;s not much to get done.
		Even without completing the reading assignment, I&apos;ve got everything I need to easily finish up everything I need to hand in tomorrow, though if I can keep on task, I&apos;ll finish up the reading material too.
		I then said that if the censorship at the school was lifted, I&apos;d be back to being so on top of coursework that I wouldn&apos;t even need these easy weeks to keep up, and asked for just that to happen.
		In response, all I saw in my head was more images of SuperTux.
		I guess I&apos;ve been thinking about that a lot the past couple days.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion post for the day:
	</p>
	<blockquote>
		<p>
			Yeah, no problem.
			I usually try to post within the first couple days.
			Lately, I&apos;ve been trying to make at least one discussion post (between my two courses) per day, so with that kind of schedule, I&apos;ve got to get right on the reading material and discussion assignment.
		</p>
		<p>
			I&apos;d love to hear more about the low-level stuff, like you mentioned.
			One of my favourite courses at this school was <a href="https://y.st./en/coursework/CS1104/" title="Computer Systems">CS 1104</a>, one in which we worked with translating assembly into binary, among other low-level things.
			During part of the course, we were supposed to use an assembler, but I never could get the assembler we were assigned to use to function.
			I asked for help, but none ever came.
			I ended up building my own assembler just to get through the course, and despite assembler-building not being an intended part of the course, it was one of my favourite parts.
		</p>
	</blockquote>
	<blockquote>
		<p>
			Hey <span class="redacted">[REDACTED]</span>!
			It&apos;s great to see you again, too!
			It&apos;s been a while.
		</p>
		<p>
			Like you said, timing is everything.
			Race conditions occur when there&apos;s a critical dependence on timing.
			Personally, I think the term &quot;critical section&quot; (used by the textbook) is incredibly misleading.
			It makes it sound like the section itself is highly important.
			For example, code that keeps the generators working in a hospital would be critical, even if race conditions aren&apos;t involved.
			Instead though, it&apos;s not these sections themselves that are important, but the timing of the execution of these sections.
			For example, in your counting code, the wrong output will be given if the scheduler breaks up sections of code that really shouldn&apos;t be broken up.
			Mutual exclusion does seem to be the best way to prevent such errors.
		</p>
	</blockquote>
</section>
END
);
